import request from '@/utils/request.js'
export function  getOrderList(data){
    return request.post("company-serv/order/list",data);
}

export function  getHospitalList(data){
    return request.get("hospital-serv/hospital/getAllHospital",data);
}

export function  getDepartmentList(data){
    return request.get("hospital-serv/department/getAllDepartment",data);
}
export function  getOrderListByHospital(data){
    return request.post("company-serv/hospital/key1",data);
}
export function  getOrderListByDepartment(data){
    return request.post("company-serv/department/key2",data);
}
export function  softdelete(data){
    return request.get("company-serv/order/delOrder/"+data);
}
export function getAllByCascade(data){
    return request.post("/company-serv/order/getAllByCascade", data);
  }